package org.taie.simplequeue;

import java.util.HashMap;
import java.util.Map;

/**
 * User: AbelZ
 * Date: 2011-1-26
 * Time: 20:22:57
 */
public class PersistentQueue {

    private int maxItems = Integer.MAX_VALUE;
    private long maxSize = Long.MAX_VALUE;
    private long maxItemSize = Long.MAX_VALUE;
    private int maxAge = 0;
    private long maxJournalSize = 16 * 1024 * 1024;
    private long maxMemorySize = 128 * 1024 * 1024;
    private int maxJournalOverflow = 10;
    private long maxJournalSizeAbsolute = Long.MAX_VALUE;
    private boolean discardOldWhenFull = false;
    private boolean keepJournal = true;
    private boolean syncJournal = false;


    private int xidCounter = 0;
    private Map<String, Message> openTransactions = new HashMap<String, Message>();
    
    
}
